home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group94a.txt
/
000132_icon-group-sender _Sat May 21 14:19:18 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-08-19
|
4KB
Received: by cheltenham.cs.arizona.edu; Sat, 21 May 1994 22:24:43 MST
From: Richard Hernandez <rick@sparc.sandiegoca.ncr.com>
Message-Id: <9405212119.AA27468@sv509.SanDiegoCA.ncr.com>
Subject: Re: How do I place a system editor in an icon region?
To: icon-group@cs.arizona.edu
Date: Sat, 21 May 1994 14:19:18 -0700 (PDT)
In-Reply-To: <01HCLCIE6EGI8WW2SH@mis.mcw.edu> from "Chris Tenaglia - 257-8765" at May 21, 94 07:30:56 am
X-Mailer: ELM [version 2.4 PL20]
Content-Type: text
Content-Length: 3144
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
>
> It sounds like Xwindows are present? I wrote an X-based menu that
> needs to do something like that too. Mine called different
> character based apps. Assuming you know what filename you want
> to edit, here's the code segment I'd use.
>
> command := "/usr/bin/X11/xterm -e /usr/ucb/vi " || filename || " &"
> system(command)
>
Thanks, I have implemented the above. What I really want is what is below.
Icon window
________________________________________________
| :
| File Options :
| ------------------------------------------- :
| _________________________________________ |
| |Editing a file with a system editor : :
| |within an icon window. : :
| |~ : :
| |~ : :
| |~ : :
| |~ : :
| |~ : :
| |~ : :
| |~ : :
| |"filename" [New file] : :
| ----------------------------------------- |
| :
------------------------------------------------
>
> I do this on a DEC ultrix unix system. My display is an Xterminal. This
> runs the editor on the file and when the editor is exited "ZZ", the
> spawned window disappears automatically.
>
> Chris Tenaglia (System Manager) | "The past explained,
> Medical College of Wisconsin | the future fortold,
> 8701 W. Watertown Plank Rd. | the present largely appologized for."
> Milwaukee, WI 53226 | Organon to The Doctor
> (414)257-8765 |
> tenaglia@mis.mcw.edu
>
> > From: IN%"rick@sparc.sandiegoca.ncr.com" "Richard Hernandez" 20-MAY-1994 18:02:25.04
> > To: IN%"icon-group@cs.arizona.edu"
> > Subj: How do I place a system editor in an icon region?
>
> > Hi Group!
> > I have just installed icon 8.10 and built my first program.
> > For those of you that are interested, platforms are:
>
> > MACHINE=NCR 3000 Family, OS=NCR System V Release 4
> > MACHINE=Solbourne Series5 OS=Solbourne/Sun Microsystems sun4 4.1B
>
> > I have a question on how to add a system editor (vi,emacs)
> > within an icon window, that is, frame an editor in icon. I
> > would prefer not using icon to create an editor (why re-invent
> > the wheel?). Any help would be appreciated.
--
I do not represent AT&T or NCR and all correspondance regarding
AT&T or NCR should be sent to those that do ...
_ __ Richard "Rick" Hernandez MailStop: 1440
' ) ) / c/o AT&T GLOBAL INFORMATION SOLUTIONS
/--' o _. /_ 17095 VIA DEL CAMPO PHONE: (619) 485-3467
/ \_(_(__/ <_ SAN DIEGO CA 92127-1711 FAX: (619) 485-3367
E-MAIL: Richard.Hernandez@SanDiegoCA.NCR.COM